#!/usr/bin/env python
# -*- coding: UTF-8 -*-
TEMPLATE = "music.html"
TMP_VARIABLES = {"name":"Menangen"}
# enable debugging
import cgitb
from string import Template


cgitb.enable()

print "Content-Type: text/html;charset=utf-8"
print


template_HTML = ""

file = open(TEMPLATE, "r")
for line in file:
    template_HTML += line
file.close()

template = Template(template_HTML)
print template.substitute(TMP_VARIABLES)